//
//  LHRecommendTravelNotesDetailModel.m
//  Knight_Tour
//
//  Created by 庞魁 on 15-5-20.
//  Copyright (c) 2015年 TouchOne. All rights reserved.
//

#import "LHRecommendTravelNotesDetailModel.h"

@implementation LHRecommendTravelNotesDetailModel

- (void)dealloc
{
    [_photo_1600 release];
    [_text release];
    [_local_time release];
    [_name release];
    [super dealloc];
}

- (id)initWithCoder:(NSCoder *)aDecoder
{
    if (self = [super init]) {
        
         self.photo_1600 = [aDecoder decodeObjectForKey:@"photo_1600"];
         self.text = [aDecoder decodeObjectForKey:@"text"];
         self.local_time = [aDecoder decodeObjectForKey:@"local_time"];
         self.name = [aDecoder decodeObjectForKey:@"name"];
        
    }
    
    
    return self;
}


- (void)encodeWithCoder:(NSCoder *)aCoder
{
   
    [aCoder encodeObject:self.name forKey:@"name"];
    [aCoder encodeObject:self.photo_1600 forKey:@"photo_1600"];
    [aCoder encodeObject:self.local_time forKey:@"local_time"];
    [aCoder encodeObject:self.text forKey:@"text"];
    
}

@end
